<div id="scoreComponent">
    <div class="panel">
        <div class="panel-body">
            <div class="top clearfix" >
                <!--<div class="left  pull-left">
                    <img src="../../images/major.png" alt="">
                    <div>会计学</div>
                </div>-->
                <div class="right pull-left">
                    <div class="top">
                        <b>成绩构成</b>
                        <div>
                            <i></i>
                            <span>课件点播({{viewBag.scoreSetup.warePer*viewBag.scoreSetup.normalPer/100}}%) <s></s></span>
                            <span>课程作业({{viewBag.scoreSetup.workPer*viewBag.scoreSetup.normalPer/100}}%)<s></s></span>
                            <span>知识问答({{viewBag.scoreSetup.aqPer*viewBag.scoreSetup.normalPer/100}}%)<s></s>
                            </span><span>课程考试({{viewBag.scoreSetup.examPer}}%)</span
                        ></div>
                    </div>
                    <div class="bottom">
                        <div class="buttonGroupDirective">
                            <button type="button" ng-repeat="item in data.terms" class="btn" ng-class="{'active':item.id==data.currTerm}" ng-click="showTerm(item.id)" >{{item.name}}</button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="bottom" ng-repeat="term in data.terms" ng-if="term.id==data.currTerm">
                <div class="title clearfix">
                    <div class="left pull-left"><i></i>正在学习的课程</div>
                    <!--<div class="right pull-right">剩余<span>5</span>门可选<i></i></div>-->
                </div>
                <div class="courseList clearfix" >
                    <div class="courseItem pull-left" ng-repeat="item in term.scores">
                        <div class="heading clearfix">
                            <i ></i><span>{{item.courseName}}</span>
                        </div>
                        <div class="body">
                            <p>本课程共&nbsp;<span>{{item.courseScore}}</span>&nbsp;学分</p>
                            <p>分&nbsp;<span>{{item.course.wares.length}}</span>&nbsp;个教学章节</p>
                            <p>当前已完成课程进度：<span>{{item.percent*100|number:2}}%</span></p>
                        </div>
                        <div class="more">
                            <a ui-sref="course.wareView({courseId:item.courseId,wareId:0})">查看更多&gt;</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>